package Bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import comm.RowMapper;

public class greeUserRowMapper  implements RowMapper<greeUser>{
			public greeUser mapper(ResultSet rs) throws SQLException {
				greeUser greeuser=new greeUser();
				greeuser.setUserId(rs.getInt("user_id"));
				greeuser.setUseName(rs.getString("user_name"));
				greeuser.setUsePsw(rs.getString("user_psw"));
				greeuser.setUserSex(rs.getInt("user_sex"));
				greeuser.setUserPhone(rs.getString("user_phone"));	
				greeuser.setUserEmail(rs.getString("user_email"));
				return greeuser;
			}
}
